﻿using System;
using System.Collections.Generic;
using UnityEngine;

namespace HurricanePackage
{
    /// <summary>
    /// 窗体基类
    /// </summary>
   public abstract class BasicWnd : IUiWnd
    {
        public abstract GameObject GetGameObj();

        protected bool m_isShow;
        protected bool m_isInit;

        //是否显示
        public bool IsShow
        {
            get
            {
                return m_isShow;
            }
        }

        /// <summary>
        /// 初始化窗体
        /// </summary>
        protected abstract void InitWnd();

        public abstract void ShowWnd();
        public abstract void HideWnd();
        public abstract void ResetWnd();
        public abstract void DiscordWnd();
    }
}
